package com.szeastroc.common.utils;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jie on 2018/1/7.
 */
public class LayerTableDataUtil<T> implements Serializable{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer code = 0; //状态码

    private String msg = ""; //返回消息

    private Long count; //总条数

    private List<T> data;

    public LayerTableDataUtil(Long count, List<T> data) {
        this.count = count;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
